/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package thienphuc.patient.dao;

import java.util.List;
import thienphuc.patient.dto.DichVu;
import thienphuc.patient.dto.LoaiDichVu;

/**
 *
 * @author QuocDat
 */
public interface DichVuDAO extends Dao<DichVu, Integer> {
    public final static String DICH_VU_MA_DICH_VU = "maDichVu";
    public final static String DICH_VU_LOAI_DICH_VU = "loaiDichVu";
    public final static String DICH_VU_TEN_DICH_VU = "tenDichVu";
    public final static String DICH_VU_GIA_TIEN = "giaTien";
    public final static String DICH_VU_GHI_CHU = "ghiChu";
    public final static String DICH_VU_TRANG_THAI = "trangThai";
    public final static String DICH_VU_DICH_VU_LAM_SANS = "dichVuLamSans";
    
    /**
     * Find DichVu by TenDichVu
     * @param tenDichVu
     * @return
     * @throws Exception 
     */
    List<DichVu> findByTenDichVu(String tenDichVu) throws Exception;
    
    /**
     * Find by LoaiDichVu
     * @param loaiDichVu
     * @return
     * @throws Exception 
     */
    List<DichVu> findByLoaiDichVu(LoaiDichVu loaiDichVu) throws Exception;
    
}
